-- GENERATED SPELL FOR [Bonechewer Ravener] --


function spell0_17264(pUnit, Event) --@Kidney Shot,n/a--
pUnit:FullCastSpellOnTarget(30621,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17264', 3000, 1)
end

function Sorts_17264(pUnit, Event)
local choix_sorts_17264 = math.random(0, 0)
if choix_sorts_17264 == 0 then
pUnit:RegisterEvent('spell0_17264', 1, 1)
end
end

function mob17264_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17264', math.random(1500, 3000), 1)
end

function mob17264_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17264_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17264_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17264, 1, 'mob17264_Action')
RegisterUnitEvent(17264, 2, 'mob17264_Leave')
RegisterUnitEvent(17264, 3, 'mob17264_Kill')
RegisterUnitEvent(17264, 4, 'mob17264_Die')
